package com.example.observer.demo;

import com.example.observer.eventbus.Subscribe;

public class ObserverOne {
    @Subscribe
    public void udpate(EventOne event) {
        System.out.println("观察者1收到消息：" + event.getMessage());
    }
}
